Technical Q&AQD3D 51 - Textures & BitMaps Explained (21-August-96)Q What is the difference between Textures and Bitmaps? A In general conversation we may use the two terms interchangeably, but actual differences do exist:
There is more information in both the BitMap and PixMap structures beyond just pixels, such as rowBytes and a bounds rectangle. A PixMap also contains additional information such as the pixel depth. Look in the quickdraw.h header (or equivalent on PC), or any good graphics programming book for more information. A Texture is not necessarily a mapping of a PixMap, as a Texture could map dynamic data onto an object in a model, (e. g., the TextureEyes sample uses a QuickTime movie as its source). The Texture is just where this data is stored. The information in the Texture is used by a shader to combine information about the Texture, other material properties, lights, position, and orientations. The shader is called as part of the rendering process. In the quote below, note that shading is the last of seven steps involved in rendering: "Rendering is a general term that describes the overall process of going from a database representation of a three-dimensional object to a shaded two-dimensional project on a view surface. It involves a number of separate processes: Technical Q&A Previous Question | Contents | Next Question |